home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15366 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  902 b 

  1. Path: connix.com!news
  2. From: Scott Hawley <shawley@connix.com>
  3. Newsgroups: comp.lang.c,comp.unix.programmer
  4. Subject: Re: Q: '\n' character
  5. Date: Thu, 18 Apr 1996 13:18:17 -0700
  6. Organization: SHAWLEY SYSTEMS
  7. Message-ID: <3176A389.4E48@connix.com>
  8. References: <4kj66f$k0o@ren.cei.net> <4kmdsv$ojc@masala.cc.uh.edu> <4kmhpsINN7ak@keats.ugrad.cs.ubc.ca> <AD97189A966891F2@mcdiala02.it.luc.edu> <4ktn04INNoev@keats.ugrad.cs.ubc.ca>
  9. NNTP-Posting-Host: shawley.connix.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. >Having a return value that is the same as one of the arguments is
  16. >a complete waste of a ``data path'' that could be used to return
  17. >pertinent information.
  18.  
  19. My manual says fgets returns the string pointed to by s or a NULL
  20. on end-of-file. I would say finding the end of file is pretty
  21. pertinent, wouldn't you?
  22.